package trading.ctm.yunjing.module

import android.graphics.Typeface
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import trading.ctm.yunjing.R

class MainActivity : AppCompatActivity() {

    var TEXT_TYPE: Typeface? = null
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.dialog_auction_offer)


//        try {
//            // 加载自定义字体
//            TEXT_TYPE = Typeface.createFromAsset(assets, "fonts/BebasNeue.TTF")
//        } catch (e: Exception) {
//            TEXT_TYPE = null
//        }
//
//        if (TEXT_TYPE != null) {
//            textt.typeface = TEXT_TYPE
//        }
//
//        textt.text = "hehehhehehehehehhe"
//        textt.setOnClickListener {
//
//            val intent = Intent(this@MainActivity, LoginActivity::class.java)
//            startActivity(intent)
//
//        }
    }

}
